package com.our.set.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springside.modules.orm.grid.ViewField;

@Entity
@Table(name = "T_Method")
public class Method {
    @ViewField
    private Long methodId;

    @ViewField(header = "功能名称", width = 200)
    private String methodName;

    @ViewField(header = "描述", width = 300)
    private String methodDesc;
    
    @ViewField
    private String realMethod;//程序中方法名
    
    @ViewField
    private Long resourceId;//关联到对应菜单

    @Id
    public Long getMethodId() {
        return methodId;
    }

    public void setMethodId(Long methodId) {
        this.methodId = methodId;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

   

    public String getMethodDesc() {
        return methodDesc;
    }

    public void setMethodDesc(String methodDesc) {
        this.methodDesc = methodDesc;
    }

    public String getRealMethod() {
        return realMethod;
    }

    public void setRealMethod(String realMethod) {
        this.realMethod = realMethod;
    }

    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

}
